<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- 初始化樣式 -->
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/indexmenu.css">
    <link rel="stylesheet" href="./lib/css/bootstrap.min.css">
    <title>Document</title>

</head>

<body>
    <!-- 引入模板引擎 -->
    <script src="./js/art-template-web.js"></script>
    <!-- 頭部 -->
    <div class='menu_head'>
        <iframe MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no src="./pages/head.html" width="100%">
        </iframe>
    </div>

    <!-- 菜单栏 -->
    <div class="menu">
    </div>
    <script type="text/template" id="menu">
      {{each $data value}}
        <div class="menu_class" id="menu_num{{value.indexmenuId}}">
            <a href="{{value.titlehref}}" class="class_nameImg">
                <div class="class_img">
                   {{#value.img}}
                </div>
                <div class="class_name">
                    <p>{{value.name}}</p>
                </div>
            </a>
        </div>
    {{/each}}
    </script>

    <!-- 折扣小标题 -->
    <a href="javascript:;" class="content_title clearfix1">
        <span>超值折扣推荐</span>
        <img src="./images/more.png" alt="">
    </a>
    <!-- 菜单内容 -->
    <div class="menu_content">
        <!-- 内容 -->
        <script type=text/template id="menu_content">
        {{each $data value}}
            <div class="content_class">
                <a href="javascript:;" class="content_class_goods">
                    <div class="goods_left">
                        {{#value.productImg2}}
                    </div>
                    <div class="goods_right">
                        <div class="right_name">
                            {{value.productName}}
                            <span>
                                {{value.productPinkage}}
                            </span>
                        </div>
                        <div class="right_ft">
                            <span>
                                {{value.productFrom}}
                                |
                                {{value.productTime}}
                            </span>
                            <span>
                                <span class="glyphiconglyphicon-ice-lolly"aria-hidden="true">
                                </span>
                                {{value.productComCount}}
                            </span>
                        </div>
                    </div>
                </a>
            </div>
        {{/each}}
        </script>
    </div>
    
    <!-- 更多信息 -->
    <div class="more_msg">
            <a class="btn btn-default" href="./pages/moneyctrl.html" role="button">更多优惠信息>></a>
    </div>

     <!-- 品牌排行 -->
     <a href="javascript:;" class="content_title clearfix1">
            <span>品牌排行</span>
            <img src="./images/more.png" alt="">
        </a>

</body>
<!-- 引入JQ -->
<script src="./js/jquery-1.12.2.js"></script>
<script src="./lib/js/indexmenu.js"></script>

</html>